
package com.slwu.request.plot;

import cn.hutool.json.JSONObject;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;

/**
 * 地块编辑参数
 *
 * @author wushaolin
 * @date  2024/11/14 15:19
 **/
@Getter
@Setter
public class PlotEditParam {

    /** ID */
    @ApiModelProperty(value = "ID", required = true, position = 1)
    @NotBlank(message = "id不能为空")
    private String id;

    /** 名称 */
    @ApiModelProperty(value = "名称", required = true, position = 2)
    @NotBlank(message = "name不能为空")
    private String name;

    /** 村代码 */
    @ApiModelProperty(value = "村代码", position = 3)
    private String village;

    /** 扩展 */
    @ApiModelProperty(value = "扩展", position = 4)
    private JSONObject ext;

}
